﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using LotteCinema.DAO;

namespace LotteCinema.BUS
{
    public class BThongTinCTy
    {
        public static DThongTinCty dct = new DThongTinCty();
        #region Thêm Dữ Liệu
        public void ThongTinCTy_ThemDuLieu(CThongTinCty tt)
        {
            dct.ThongTinCTy_Them(tt);
        }
        # endregion

        #region Xóa Dữ Liệu
        public void ThongTinCTy_XoaDuLieu(string id)
        {
            dct.ThongTinCTy_Xoa(id);
        }
        # endregion

        #region Sữa Dữ Liệu
        public void ThongTinCTy_SuaDuLieu(CThongTinCty tt)
        {
            dct.ThongTinCTy_Sua(tt);
        }
        # endregion

        #region Lấy Tất Cả Dữ Liệu
        public DataTable ThongTinCTy_LayTatCaDL()
        {
            return dct.ThongTinCTy_LayTatCa();
        }
        # endregion

        #region Lấy Mã Khóa Chính
        public DataTable ThongTinCTy_LayMaKhoaChinh(string id)
        {
            return dct.ThongTinCTy_LayKhoaChinh(id);
        }
        #endregion
    }
}
